
#ifndef _TASK_CONFIG_H_
#define _TASK_CONFIG_H_
#include "FreeRTOS.h"
#include "Task.h"
#include "event_groups.h"

//数值越大优先级越大  @configMAX_PRIORITIES 为最大优先级

#define START_TASK_STACK_SIZE			( configMINIMAL_STACK_SIZE + 800 )
#define START_TASK_PRIORITY				( tskIDLE_PRIORITY + 4 )

#define FUN_TASK_STACK_SIZE				( configMINIMAL_STACK_SIZE + 300 )
#define FUN_TASK_PRIORITY				( tskIDLE_PRIORITY + 3 )

#define BLE_TASK_STACK_SIZE				( configMINIMAL_STACK_SIZE + 360 )
#define BLE_TASK_PRIORITY				( tskIDLE_PRIORITY + 2 )

#define USB_TASK_STACK_SIZE				( configMINIMAL_STACK_SIZE + 200 )
#define USB_TASK_PRIORITY				( tskIDLE_PRIORITY + 2 )

#define SPTL_TASK_STACK_SIZE			( configMINIMAL_STACK_SIZE + 2000 )
#define SPTL_TASK_PRIORITY				( tskIDLE_PRIORITY + 2 )

#define ASYNC_TASK_STACK_SIZE			( configMINIMAL_STACK_SIZE + 2000 )
#define ASYNC_TASK_PRIORITY				( tskIDLE_PRIORITY + 2 )

extern xTaskHandle funTaskHandle;


#endif

